package cn.home.service;

import cn.home.entity.books;

import java.util.List;

/**
 * @author 邹洪辉
 * @version 1.0
 * @date 2023/3/2 - 20:20
 */
public interface BooksService {
    List<books> getAllBooks();
    int deleteById(Integer bookId);//根据id删除
    int updateById(books books);//根据id修改
    books listById(Integer bookId);//根据id查询
    int addBooks(books books);//新增书籍
}
